package ImageCache;

import javax.microedition.lcdui.*;

public interface ImageCacheListener {
    /** Event imaged loaded */
    public final static int EVENT_LOADED = 1;

    /**
     * Callback invoked by ImageUtils when an event has occured
     *
     * @param event is the image event
     * @param name is the name of the image that caused the event
     * @param image is the image that cause the event
     */
    public void onEvent(int event, String name, Image image);
}